package com.eedi.framework.notice.service;

import com.eedi.framework.common.pojo.PageResult;
import com.eedi.framework.notice.controller.org.vo.OrgNoticeResp;
import com.eedi.framework.notify.controller.sys.vo.SysNoticePageReq;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;

public interface OrgNoticeService {

    PageResult<OrgNoticeResp> page(String orgUserId, SysNoticePageReq pageReqVO);

    void read(String sysNoticeId,String orgUserId);

    /**
     * 全部已读
     * @param orgUserId 机构用户ID
     */
    void readAll(@Valid @NotBlank String orgUserId);
}
